<style>
.affix{top:10px;}
.head-style-list li,.editor-template-list li{cursor: pointer;}
</style>
		<div class="ui-portlet">
			<ol class="breadcrumb">
			  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;{{__('Personal Center')}}</a></li>
			  <li class="active">团队管理</li>
			</ol>
		</div>           
       <hr>

{{$this->Form->create('Team',array('class'=>'form-horizontal','role'=>'form'))}}
	

	<div class="form-group">
		<label class="col-sm-2 control-label" for="TeamName">团队名称</label>
		<div class="col-sm-9 controls">
			{{$this->Form->hidden('id')}}
			{{$this->Form->input('name',array('class'=>'form-control','require'=>'require','div'=>false,'label'=>false))}}
		</div>
	</div>
	<div class="form-group" id="divTeamUrl">
		<label class="col-sm-2 control-label" for="TeamSummary">封面图片</label>
		<div class="col-sm-9 controls">
			{{$this->Swfupload->load('coverimg',array(
				'label'=>false,'modelClass'=>'Team',
				'upload_limit'=>1,'isadmin' => false,
				'file_types'=> '*.jpg;*.gif;*.png;*.bmp',
				'isadmin'=>false
				))}}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label"></label>
		<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="提交"></div>
	</div>
{{$this->Form->end()}}
{{$this->Html->script(array(
	'swfupload/swfupload.js',
	'swfupload/swfupload.queue.js',
	'swfupload/swfupload.cookies.js',
	'swfupload/fileprogress.js',
	'swfupload/handlers.js',
))}}

